<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/cortop.jsp"%>
<%@ include file="/jsp/jscommom.jsp"%>
<%@ include file="/jsp/viewtop.jsp"%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>修改职位信息</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
	function domethod(){
	if(document.all.applyDate.value==0 || document.all.applyDate.value==""){
		alert("对不起,你没有选择招聘日期或系统还没有发布现场招聘!");
		return;
		}
		if(document.all.recruitContent.value==""){
		alert("对不起,招聘信息不能为空!");
		return;
		}
	document.all.method.value="edit";
	document.forms[0].submit();
	document.all.method.value="";
	}
	</script>
	<%
	String applyId = request.getParameter("applyId");
	%>
	<body>
		<html:form
			action="/system/manage/corpormanage/infomanage/editrecruitcontent"
			method="post">
			<html:hidden property="method" />
			<input type="hidden" name="applyId" value="<%=applyId%>" />
			<div align="center">
				<table width="880" border="0" align="center" cellpadding="0"
					cellspacing="1" class="line1">
					<tr>
						<td class="titlebg" colspan="4">
							申请展位
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1">
							申请日期：
						</td>
						<td class="mtdtextleft">
							<html:select property="applyDate" styleClass="input1">
								<html:option value="">
								请选择
							</html:option>
								<logic:empty name="applyDateList">
									<option value="0">
										无招聘信息
									</option>
								</logic:empty>


								<logic:notEmpty name="applyDateList">
									<logic:iterate type="com.ibatis.po.corpor.TActivity"
										id="applyDateList" name="applyDateList">
										<option
											value="<bean:write name='applyDateList' property='showDate' format='yyyy-MM-dd'/>">
											<bean:write name='applyDateList' property='showDate'
												format='yyyy-MM-dd' />
										</option>
									</logic:iterate>
								</logic:notEmpty>

							</html:select>
						</td>

						<td class="mtdtitle1">
							申请类型：
						</td>
						<td class="mtdtextleft">
							<html:select property="timeType" styleClass="input1">
								<option value="0">
									全天
								</option>
								<option value="1">
									上午
								</option>
								<option value="2">
									下午
								</option>
							</html:select>
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1" colspan="4">
							招聘信息
						</td>
					</tr>


					<tr>
						<td class="mtdtextleft" colspan="5">
							<html:textarea property="recruitContent" cols="100%" rows="10"
								styleClass="input1"></html:textarea>
						</td>
					</tr>


					<tr>
						<td class="mtdtitle1" colspan="4">
							注：招聘信息必须与现场招聘信息一致,字数最大数为1000个字符,即500个汉字.
						</td>
					</tr>
					<tr>
						<td class="mtdtitle1" colspan="4">
							<input type="button" class="tbutton" value="提交"
								onclick="domethod()" />
						</td>
					</tr>
				</table>
			</div>
		</html:form>

	</body>
</html>
